package com.hythzx.repository;

import com.hythzx.domain.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by zhaoy on 2017/3/3.
 */
public interface UserRepository extends JpaRepository<User,Long> {

    User findTop1ByLoginName(String loginName);
}
